package Sort.test;

public class OverSeven {

    public static String[] overSevenArr(){
        String[] noSevenArr = new String[201];
        String temp ;
        for(int i = 1; i <= 200; i++){
            temp = String.valueOf(i);
            if(i % 7 == 0 || temp.indexOf('7') != -1){
                noSevenArr[i] = "过";
            }else{
                noSevenArr[i] = temp;
            }
        }
        return noSevenArr;
    }

    public static void main(String[] args) {
        String a= "1234567";
        System.out.println(a.indexOf('8'));

        for (int i = 0; i < overSevenArr().length; i++) {
            System.out.println(overSevenArr()[i]);
        }
    }
}
